/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package sessionbean;

import entity.Product;
import entity.User2;
import java.util.ArrayList;
import javax.ejb.Remote;

/**
 *
 * @author lab1
 */
@Remote
public interface CartRemote {

    void addToCart(String proID, String proName, double price, int quantity);

    double getTotalAmount();

    ArrayList<Product> getListcart();

    void removeProduct(String proID);

    void resetProduct(ArrayList<Product> listPro);

    User2 ShowUser();

    void updateUse(User2 use);
}
